package com.shengwei.truck.driver.bean.task;

import com.shengwei.truck.driver.bean.FileUrlBean;

import java.util.ArrayList;

/**
 * 任务详情页data数据
 */
public class JsonTaskDetailData {
    public String id;              //任务ID
    public String loadingCityName = "";   //装货城市


    public String loadingAreaName = "";   //装货区
    public String loadingAddress = "";    //装货详细地址
    public String unloadingAddress = ""; //卸货详细地址
    public String unloadingCityName = ""; //卸货城市
    public String unloadingAreaName = ""; //卸货区
    public String goodsType;        //货物类型（名称）

    public String dispatchName;     //派单人
    public String dispatchPhone;   //派单人电话
    public String factoryLinkUser; //装货工厂联系人
    public String factoryLinkPhone; //装货工厂联系电话
    public String receiverName;    //收货人
    public String receiverPhone;  //收货人电话

    public String weight = "";         //任务总量
    public long plannedReceiptTime;   //计划收货时间
    public long createTime;           //发布时间
    public String taskNo;          //任务号
    public String planSheetNo;       //订单号
    public int taskStatus;       //任务状态
    public String qrCodeUrl;        //二维码图片
    public String dispatchUserId;
    public String vehiclePlateNumber;  //车牌号

    //出厂磅单回显
    public String outVehiclePlateNumber;  //出厂车牌号
    public String outNetWeight;       //出货净量
    public String outTare;       //出货皮重
    public String outGrossWeight;       //出货毛重
    public String outWeighingListUrl; //出货磅单图片地址
    public String outWeighingListThumbUrl;//出厂磅单缩略图

    //收货磅单回显
    public String receiveVehiclePlateNumber;  //出厂车牌号
    public String receiveNetWeight;       //收货 净量
    public String receiveTare;           //收货 皮重
    public String receiveGrossWeight;     //收货 毛重
    public String receiveWeighingListUrl; //出货磅单图片地址
    public String receiveWeighingListThumbUrl; //出货磅单缩略图片地址

    public int getType;//1分配的任务；2自己领取的任务
    public String planSheetId; //任务所属的计划单ID
    public int share;  //0未共享，1共享
    public String shareUserId; //共享人主键
    public String shareUserName; //共享人
    public int transfer; //0未转派 1已转派
    public String transferUserId;
    public String transferUserName; //转派人名称
    public String userId;
    public String userName; //任务最初的拥有者
    public String unit = "";
    public long lastTime;
    public String cause;
    public String transferUserAvatar; //右边（中间）头像地址，如 userAvatar 转派给transferUserAvatar再分享给shareUserAvatar
    public String shareUserAvatar;  //右边头像地址
    public String userAvatar; //左边头像地址
    public String goodsName; //货物名称
    public String laName;//起始单位
    public String uaName; //目标单位
    public ArrayList<FileUrlBean> outWeighingListUrls;
    public ArrayList<FileUrlBean> receiveWeighingListUrls;
    long outWeighingListTime;
    long receiveWeighingListTime;
    public int showButton;  //是否显示“接受任务”按钮


    public int getShowButton() {
        return showButton;
    }
    public void setShowButton(int showButton) {
        this.showButton = showButton;
    }
    public long getReceiveWeighingListTime() {
        return receiveWeighingListTime;
    }
    public void setReceiveWeighingListTime(long receiveWeighingListTime) {
        this.receiveWeighingListTime = receiveWeighingListTime;
    }
    public long getOutWeighingListTime() {
        return outWeighingListTime;
    }
    public void setOutWeighingListTime(long outWeighingListTime) {
        this.outWeighingListTime = outWeighingListTime;
    }

    public String getOutWeighingListThumbUrl() {
        return outWeighingListThumbUrl;
    }

    public void setOutWeighingListThumbUrl(String outWeighingListThumbUrl) {
        this.outWeighingListThumbUrl = outWeighingListThumbUrl;
    }

    public String getReceiveWeighingListThumbUrl() {
        return receiveWeighingListThumbUrl;
    }

    public void setReceiveWeighingListThumbUrl(String receiveWeighingListThumbUrl) {
        this.receiveWeighingListThumbUrl = receiveWeighingListThumbUrl;
    }
    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getLaName() {
        return laName;
    }

    public void setLaName(String laName) {
        this.laName = laName;
    }

    public String getUaName() {
        return uaName;
    }

    public void setUaName(String uaName) {
        this.uaName = uaName;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public String getLoadingCityName() {
        if(loadingCityName == null){
            return "";
        }
        return loadingCityName;
    }

    public void setLoadingCityName(String loadingCityName) {
        this.loadingCityName = loadingCityName;
    }

    public String getLoadingAreaName() {
        if(loadingAreaName == null){
            return "";
        }
        return loadingAreaName;
    }


    public String getLoadingAddress() {
        if(loadingAddress == null){
            loadingAddress = "";
        }
        return loadingAddress;
    }

    public void setLoadingAddress(String loadingAddress) {
        this.loadingAddress = loadingAddress;
    }

    public String getUnloadingAddress() {
        if(unloadingAddress == null){
            unloadingAddress = "";
        }
        return unloadingAddress;
    }

    public void setUnloadingAddress(String unloadingAddress) {
        this.unloadingAddress = unloadingAddress;
    }

    public String getUnloadingCityName() {
        if(unloadingCityName == null){
            unloadingCityName = "";
        }
        return unloadingCityName;
    }

    public void setUnloadingCityName(String unloadingCityName) {
        this.unloadingCityName = unloadingCityName;
    }

    public String getGoodsType() {
        if(goodsType == null){
            goodsType = "";
        }
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getDispatchName() {
        if(dispatchName == null){
            dispatchName = "";
        }
        return dispatchName;
    }

    public void setDispatchName(String dispatchName) {
        this.dispatchName = dispatchName;
    }

    public String getDispatchPhone() {
        if(dispatchPhone == null){
            dispatchPhone = "";
        }
        return dispatchPhone;
    }

    public void setDispatchPhone(String dispatchPhone) {
        this.dispatchPhone = dispatchPhone;
    }

    public String getReceiverName() {
        if(receiverName == null){
            receiverName = "";
        }
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        if(receiverPhone == null){
            receiverPhone = "";
        }
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getWeight() {
        if(weight == null){
            weight = "";
        }
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public long getPlannedReceiptTime() {
        return plannedReceiptTime;
    }

    public void setPlannedReceiptTime(long plannedReceiptTime) {
        this.plannedReceiptTime = plannedReceiptTime;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getTaskNo() {
        if(taskNo == null){
            taskNo = "";
        }
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public int getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(int taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getQrCodeUrl() {
        if(qrCodeUrl == null){
            qrCodeUrl = "";
        }
        return qrCodeUrl;
    }

    public void setQrCodeUrl(String qrCodeUrl) {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getDispatchUserId() {
        if(dispatchUserId == null){
            dispatchUserId = "";
        }
        return dispatchUserId;
    }

    public void setDispatchUserId(String dispatchUserId) {
        this.dispatchUserId = dispatchUserId;
    }

    public String getVehiclePlateNumber() {
        if(vehiclePlateNumber == null){
            vehiclePlateNumber = "";
        }
        return vehiclePlateNumber;
    }

    public void setVehiclePlateNumber(String vehiclePlateNumber) {
        this.vehiclePlateNumber = vehiclePlateNumber;
    }

    public String getReceiveNetWeight() {
        if(receiveNetWeight == null){
            receiveNetWeight = "";
        }
        return receiveNetWeight;
    }

    public void setReceiveNetWeight(String receiveNetWeight) {
        this.receiveNetWeight = receiveNetWeight;
    }

    public String getReceiveWeighingListUrl() {
        if(receiveWeighingListUrl == null){
            receiveWeighingListUrl = "";
        }
        return receiveWeighingListUrl;
    }

    public void setReceiveWeighingListUrl(String receiveWeighingListUrl) {
        this.receiveWeighingListUrl = receiveWeighingListUrl;
    }

    public String getOutNetWeight() {
        if(outNetWeight == null){
            outNetWeight = "";
        }
        return outNetWeight;
    }

    public void setOutNetWeight(String outNetWeight) {
        this.outNetWeight = outNetWeight;
    }

    public String getOutWeighingListUrl() {
        if(outWeighingListUrl == null){
            outWeighingListUrl = "";
        }
        return outWeighingListUrl;
    }

    public void setOutWeighingListUrl(String outWeighingListUrl) {
        this.outWeighingListUrl = outWeighingListUrl;
    }

    public int getGetType() {
        return getType;
    }

    public void setGetType(int getType) {
        this.getType = getType;
    }

    public String getPlanSheetId() {
        if(planSheetId == null){
            planSheetId = "";
        }
        return planSheetId;
    }

    public void setPlanSheetId(String planSheetId) {
        this.planSheetId = planSheetId;
    }

    public int getShare() {
        return share;
    }

    public void setShare(int share) {
        this.share = share;
    }

    public String getShareUserId() {
        if(shareUserId == null){
            shareUserId = "";
        }
        return shareUserId;
    }

    public void setShareUserId(String shareUserId) {
        this.shareUserId = shareUserId;
    }

    public String getShareUserName() {
        if(shareUserName == null){
            shareUserName = "";
        }
        return shareUserName;
    }

    public void setShareUserName(String shareUserName) {
        this.shareUserName = shareUserName;
    }

    public int getTransfer() {
        return transfer;
    }

    public void setTransfer(int transfer) {
        this.transfer = transfer;
    }

    public String getTransferUserId() {
        return transferUserId;
    }

    public void setTransferUserId(String transferUserId) {
        this.transferUserId = transferUserId;
    }

    public String getTransferUserName() {
        if(transferUserName == null){
            transferUserName = "";
        }
        return transferUserName;
    }

    public void setTransferUserName(String transferUserName) {
        this.transferUserName = transferUserName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        if(userName == null){
            userName = "";
        }
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUnit() {
        if(unit == null){
            unit = "";
        }
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public long getLastTime() {
        return lastTime;
    }

    public void setLastTime(long lastTime) {
        this.lastTime = lastTime;
    }

    public String getCause() {
        if(cause == null){
            cause = "";
        }
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }
}